package com.xu.sso.db.service;


import com.xu.sso.db.model.base.Resources;
import com.xu.sso.db.model.base.ResourcesRole;

import java.util.List;

public interface ResourcesDBService {

    List<Resources> findAllResourcesByApp(String appId);

    List<ResourcesRole> findAllResourcesRole();

    int createResources(Resources resources);

    Resources findResourcesById(Integer id);

    int updateResources(Resources resources);

    int deleteResourcesById(Integer id);

    int deleteResourcesByApp(String appId);

}
